package com.zhou.mapper;

import com.zhou.entity.TheoQues;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 题目信息表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2023-03-02
 */
@Repository
public interface TheoQuesMapper extends BaseMapper<TheoQues> {

    List<String> findDirect();
    List<String> findDirectByRepoId(int repo_id);
    List<String> findKnowledge();
    List<String> findQuesType();
    List<String> findLevel();
    List<String> findKnowledgeByDirect(String direct);

    int deleteBatchIds(List<Integer> quesIds);
}
